﻿#ifndef GLOBALSUBJECTAPI_H
#define GLOBALSUBJECTAPI_H

#ifdef  GLOBALSUBJECT_LIBRARY
#  define GLOBALSUBJECTAPI __declspec(dllexport)
#else
#  define GLOBALSUBJECTAPI __declspec(dllimport)
#endif

#include "TSObserverPattern.h"

enum MESSAGE_TO_OBSERVER
{
    MESSAGE_UPDATE_FPS = 0xA000,
	MESSAGE_UPDATE_EXPOSURE_TIME,
};

GLOBALSUBJECTAPI void GlobalAttachObserver(TSObserver *observer);
GLOBALSUBJECTAPI void GlobalDetachObserver(TSObserver *observer);
GLOBALSUBJECTAPI void GlobalNotifyObserver(int message, void *param);

#endif // GLOBALSUBJECTAPI_H
